package edu.paper.job.service;

import java.io.Serializable;
import java.util.List;

import edu.paper.job.domain.Applicant;
import edu.paper.job.domain.Job;
import edu.paper.job.domain.Resume;

/**
 * 求职者业务逻辑接口
 * @author bowen
 *
 */
public interface ApplicantService {
	public List<Applicant> find(Applicant applicant);		//带条件查询，可以为空，为空时查询所有
	public Applicant get(Serializable id);		//查询一个
	public void insert(Applicant applicant);		//保存
	public void update(Applicant applicant);		//更新数据
	public void deleteById(Serializable id);		//删除一个
	public void delete(Serializable ids[]);		//删除一批
	
	public boolean register(Applicant applicant);		//注册求职者，true为注册成功，false为注册失败
	public Applicant login(Applicant applicant);		//登录，登录成功返回成功对象，失败返回空
}
